package com.zxx.pattern.templatePattern.template1;

/**
 * 制作咖啡的方法类
 * @author zxx on 2021/4/9
 */
public class CoffeeMaker extends BeverageMaker {

    @Override
    protected void brew() {
        System.out.println("冲泡咖啡，。。。");
    }

    @Override
    protected void addCondiments() {
        System.out.println("添加牛奶。。。");
    }
}
